package com.mf.entity.req.basic.search.webPage;

import com.mf.entity.req.basic.reqPublic.ReqPublicPaging;
import com.mf.valid.ValidListValue;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 前端配置页面明细查询条件
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqPageItem extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "页面id")
    private Integer pageId;
    @Schema(description = "jsonId")
    private Integer jsonId;
    @Schema(description = "json类型")
    private String type;
    @Schema(description = "是否为主表格")
    @ValidListValue(val = {0, 1}, message = "isMainTable值只能为0或1")
    private Integer isMainTable;
}
